package design;

import design.human.female.FemaleBlackHuman;
import design.human.female.FemaleWhiteHuman;
import design.human.female.FemaleYellowHuman;
import design.human.Human;

public class FemaleFactory implements HumanFactory {
    //生产出黑人女性
    @Override
    public Human createBlackHuman() {
        return new FemaleBlackHuman();
    }

    //生产出白人女性
    @Override
    public Human createWhiteHuman() {
        return new FemaleWhiteHuman();
    }

    //生产出黄人女性
    @Override
    public Human createYellowHuman() {
        return new FemaleYellowHuman();
    }
}